package com.cfswt.tasksystem.mapper;

import com.cfswt.tasksystem.pojo.dto.MeetingRecordSortDTO;
import com.cfswt.tasksystem.pojo.entity.MeetingRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MeetingRecordMapper {
    int insertMeetingRecords(MeetingRecord meetingRecord);

    int updateMeetingRecord(MeetingRecord meetingRecord);

    int updateMeetingRecordSortBatch(MeetingRecordSortDTO meetingRecordSoftDTO);

    List<MeetingRecord> selectRecordByMeetingId(Integer meetingId);

    List<MeetingRecord> selectRecordByMeetingIdAndRecorder(Integer meetingId, String recorder);
}
